<div class="post">
	<div class="post_title">
		<h1 class="left">Details</h1>
		<div class="post_date right">Logged in as {$acc.no}</div>
		<div class="clearer">&nbsp;</div>
	</div>
	<div class="post_body">		
		<strong>E-Mail</strong>: <span class="accDetails">{$acc.email}</span><br/>
		{if $acc.premium neq 0}
		<strong>Premium end</strong>: <span class="accDetails">{date('j F, Y, g:i a', $acc.premium)}</span>
		{/if}
	</div>
	<div class="post_bottom"></div>
</div>
<div style="margin: 15px;">&nbsp;</div>
<div class="post">
	<div class="post_title">
		<h1 class="left">Options</h1>
		<div class="post_date right"><a href="?m=login&a=out">Logout</a></div>
		<div class="clearer">&nbsp;</div>
	</div>
	<div class="post_body">
		<ul>
			<li><a href="?m=account&a=change_email">Change an e-mail</a></li>
			<li><a href="?m=account&a=change_password">Change a password</a></li>
			<li><a href="?m=account&a=delete_account">Delete an account</a></li>
		</ul>
	</div>
	<div class="post_bottom"></div>
</div>
<div style="margin: 15px;">&nbsp;</div>
<div class="post">
	<div class="post_title">
		<h1 class="left">Characters</h1>
		<div class="post_date right"><a href="?m=account&a=create_character">Create a new character</a></div>
		<div class="clearer">&nbsp;</div>
	</div>
	<div class="post_body">
	<ul>
	<table>
	{section=accChars} 
	  <tr>
	    <td>
	      <li> {$accChars.name} </li>
	    </td>
	    <td style="padding-left: 10px;">
	      <a href="?m=character&a=show&id={$accChars.id}">[Show]</a> <a href="?m=character&a=edit&id={$accChars.id}">[Edit]</a> <a href="?m=character&a=delete&id={$accChars.id}">[Delete]</a>
	    </td>
	  </tr>
	{sectionelse}
		<tr>
			<td>There are no characters on this account. Maybe you want to <a href="?m=account&a=create_character">create</a> one?</td>
		</tr>
    {/section}
	</table>
	</ul>
	</div>
	<div class="post_bottom"></div>
</div>
<div style="margin: 15px;">&nbsp;</div>